package com.vision.utils;

import java.sql.Date;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 日期格式化工具类
 */
public class DateFormatUtil {
    public static String format(LocalDateTime localDateTime) {
        return localDateTime.toString().replace("T", " ").substring(0, 19);
    }

}
